package com.zzyl.mapper;

import com.zzyl.entity.Role;
import com.zzyl.entity.RoleResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleResourceMapper {
    List<String> selectResourcesByRoleId(Long roleId);

    void deleteByRoleId(Long id);

    Integer insertRoleResources(List<RoleResource> roleResources);

    Integer selectResourcesByResourceNo(String resourceNo);

}
